from django.conf.urls.defaults import patterns, include, url
from django.conf import settings
from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    (r'^media/(.*)$', 'django.views.static.serve',
         {'document_root': settings.MEDIA_ROOT}),
    url(r'^admin/', include(admin.site.urls)),
    (r'^js/(?P<path>.*)$', 'django.views.static.serve', {'document_root': 'templates/js'}),
    (r'^$', 'botepreco.views.homepage'),
    (r'^index$', 'botepreco.views.homepage'),
    url(r'^admin_tools/', include('admin_tools.urls')),
    #(r'^noticiasuf/(?P<estado_id>\d+)/$', 'nuntius.views.noticiasuf'),
    #(r'^noticiainterna', 'nuntius.views.noticiainterna'),
)
